/*
 * @Description: 日志
 * @Author: Zzt
 * @Date: 2022-09-19 20:30:50
 * @LastEditTime: 2023-01-18 14:31:28
 */
import { lazy } from 'react';
import Layout from '@/layout';
import lazyLoad from '../components/lazyLoad';

export const LogMgtLog = lazy(
  () => import(/* webpackChunkName: "Log" */ '@/view/logMgt/Log/LogMain')
);
export const LogInOutLog = lazy(
  () => import(/* webpackChunkName: "Log" */ '@/view/logMgt/LogInOut/LogInOutMain')
);
const LogRoutes: any[] = [
  {
    path: '/log-mgt',
    element: <Layout />,
    hidden: true,
    meta: {
      title: '日志管理'
    },
    children: [
      {
        path: 'log',
        element: lazyLoad(LogMgtLog),
        meta: {
          title: '日志'
        }
      }
    ]
  }
];

export default LogRoutes;
